.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.login-form {
  width: 420px;
  padding: 40px;
  background: var(--ant-color-bg-container);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.login-header {
  margin-bottom: 32px;
}

.login-header h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #1890ff;
  font-size: 28px;
  font-weight: 600;
}

.login-switches {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.theme-switch,
.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-form .ant-form-item {
  margin-bottom: 24px;
}

.login-form .ant-input-affix-wrapper {
  height: 42px;
  font-size: 16px;
}

.login-form .ant-btn {
  height: 42px;
  font-size: 16px;
  margin-top: 8px;
}

.login-form .ant-form-item-explain-error {
  font-size: 14px;
}

/* 添加背景动画效果 */
.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(24, 144, 255, 0.1) 0%, rgba(114, 46, 209, 0.1) 100%);
  animation: gradientBG 15s ease infinite;
  z-index: 0;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 响应式调整 */
@media screen and (max-width: 576px) {
  .login-form {
    width: 90%;
    max-width: 420px;
    padding: 30px 20px;
  }

  .login-header h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .login-switches {
    flex-direction: column;
    gap: 16px;
  }

  .login-form .ant-input-affix-wrapper {
    height: 40px;
    font-size: 14px;
  }

  .login-form .ant-btn {
    height: 40px;
    font-size: 14px;
  }
} 